package com.woniu.user;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCaching     //开启redis
@EnableRabbit      //开启消息队列
@SpringBootApplication  //springboot启动
@EnableEurekaClient      //eureka
@EnableFeignClients  //开启openfeign远程调用
public class User3031 {
    public static void main(String[] args) {
        SpringApplication.run(User3031.class, args);
    }
}
